cmake_minimum_required(VERSION 2.6)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
project(RM_CV)

set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake_module)
#链接库和.h
include_directories(${INC_DIRS})
link_libraries(${LIB_DIRS})

find_package(OpenCV REQUIRED)
add_executable(
                            RM_CV 
                            src/main.cpp 
                            src/location.cpp
                            src/my.cpp
                            src/recognize.cpp
                            )
target_link_libraries(RM_CV ${OpenCV_LIBS} )
find_package(Zbar)
target_link_libraries(${PROJECT_NAME} ${ZBAR_LIBS} zbar)